import Vue from 'vue';
import axios from 'axios';

/* eslint-disable */
Vue.prototype.$axios = axios;

// POST传参序列化(添加请求拦截器)
axios.interceptors.request.use(config => {
  return config;
}, error => {
  return Promise.reject(error);
});

export { axios as $axios };
